package com.hoshiicloud.payment.param;

import com.hoshiicloud.common.query.PageParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * <p>
 * 查询参数
 * </p>
 *
 * @author Mr.wu
 * @since 2019-05-13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "查询", description = "查询")
public class PaylistQueryParam extends PageParam {

    @ApiModelProperty(value = "客户订单id")
    private String orderId;
    @ApiModelProperty(value = "买家ID")
    private Long userid;
    @ApiModelProperty(value = "支付流水号")
    private String payOrderno;
    @ApiModelProperty(value = "1-消费 2-退款")
    private Integer payType;
    @ApiModelProperty(value = "外部流水号")
    private String payOutderno;
    @ApiModelProperty(value = "支付日期时间")
    private LocalDateTime paytime;
    @ApiModelProperty(value = "支付金额")
    private BigDecimal payamount;
    @ApiModelProperty(value = "手续费")
    private BigDecimal fees;
    @ApiModelProperty(value = "实到金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "0-未付款 1-已付款 -1 建议异常")
    private Integer status;
    @ApiModelProperty(value = "汇入账户号")
    private String inAccount;
    @ApiModelProperty(value = "汇出账户号")
    private String outAccount;
    @ApiModelProperty(value = "渠道  0 weixin 1-alipay 3-cups")
    private Integer channel;
    @ApiModelProperty(value = "关联单号（销售主单/退款单号")
    private String refno;
    @ApiModelProperty(value = "回调信息")
    private String callbackMessage;
    @ApiModelProperty(value = "平台ID")
    private String platformId;
}
